from django.conf import settings


def load_html(path):
    with open(settings.BASE_DIR + path, 'rb') as file:
        html = file.read()

    return html